
import {TreeView} from "./TreeView";
import {TreeGridElement} from "./TreeGridElement";
export class TreeGridNodes extends TreeView{
  state={
        parentData:{},
        nodeData:{},
        defaultinit:false,
        isCheckBox:false,
  }



  element=(ds,space,childs)=>{
      ds._data={ids:{}};

      return <TreeGridElement action={this.props.action}  joinAction={this.props.joinAction} treeCol={this.props.treeCol} cloumn={this.props.cloumn} alldata={this.state.nodeData} parentData={this.state.parentData} isCheckBox={this.state.isCheckBox} space={space} itemClick={this.itemClick} icoClick={this.icoClick} dataSource={ds} childrenNode={childs}>{this.renderTreeViewElement(ds)}</TreeGridElement>
  }
}
